//
//  FLMYMeHeadView.m
//  FLMSuperS
//
//  Created by yakun yin on 2016/10/11.
//  Copyright © 2016年 FaLaoMiaoNetworkTechnologyCo. All rights reserved.
//

#import "FLMYMeHeadView.h"

@interface FLMYMeHeadView ()
@property (weak, nonatomic) IBOutlet UIButton *button_head;
@property (weak, nonatomic) IBOutlet UIButton *button_name;
@property (weak, nonatomic) IBOutlet UIButton *button_superMoney;

@end

@implementation FLMYMeHeadView


- (void)awakeFromNib
{
    self.backgroundColor =[UIColor colorWithHexString:@"#FCEDCC"];
    self.button_head.layer.masksToBounds = YES;
    self.button_head.layer.cornerRadius = 5.0f;
}
- (IBAction)didClickBtn_collection:(id)sender {
    if (self.delegate && [self.delegate respondsToSelector:@selector(headView:clicked:)]) {
        [self.delegate headView:self clicked:4];
    }
    
}
- (IBAction)didClickBtn_setting:(id)sender {
    if (self.delegate && [self.delegate respondsToSelector:@selector(headView:clicked:)]) {
        [self.delegate headView:self clicked:5];
    }

}
- (IBAction)didClickBtn_click:(UIButton *)sender {
    if (self.delegate && [self.delegate respondsToSelector:@selector(headView:clicked:)]) {
        [self.delegate headView:self clicked:sender.tag];
    }


}

@end
